

minetest.register_craftitem("contamination:black_diamond", {
	description = "Diamond in The Rough",
	inventory_image="contam_bdiamond.png",
})

minetest.register_craftitem("contamination:lye", {
	description = "Lye",
	inventory_image="contam_lye.png",
})

minetest.register_craftitem("contamination:lye_paste", {
	description = "Lye Paste",
	inventory_image="contam_lye_paste.png",
})

minetest.register_tool("contamination:pick_bdiamond", {
	description = "Black Diamond Pickaxe",
	inventory_image = "contam_tool_bdiamondpick.png",
	tool_capabilities = {
		full_punch_interval = 0.8,
		max_drop_level=8,
		groupcaps={
			cracky = {times={[1]=0.6, [2]=0.3, [3]=0.15}, uses=600, maxlevel=8},
		},
		damage_groups = {fleshy=8},
	},
	groups = {pick = 1},
	sound = {breaks = "default_tool_breaks"},
})



minetest.register_tool("contamination:shovel_bdiamond", {
	description = "Black Diamond Shovel",
	inventory_image = "contam_tool_bdiamondshovel.png",
	wield_image = "contam_tool_bdiamondshovel.png^[transformR90",
	tool_capabilities = {
		full_punch_interval = 0.9,
		max_drop_level=8,
		groupcaps={
			crumbly = {times={[1]=0.25, [2]=0.1, [3]=0.05}, uses=600, maxlevel=8},
		},
		damage_groups = {fleshy=8},
	},
	groups = {shovel = 1},
	sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("contamination:axe_bdiamond", {
	description = "Black Diamond Axe",
	inventory_image = "contam_tool_bdiamondaxe.png",
	tool_capabilities = {
		full_punch_interval = 0.8,
		max_drop_level=8,
		groupcaps={
			choppy={times={[1]=0.50, [2]=0.20, [3]=0.10}, uses=600, maxlevel=8},
		},
		damage_groups = {fleshy=12},
	},
	groups = {axe = 1},
	sound = {breaks = "default_tool_breaks"},
})


minetest.register_tool("contamination:sword_bdiamond", {
	description = "Black Diamond Sword",
	inventory_image = "contam_tool_bdiamondsword.png",
	tool_capabilities = {
		full_punch_interval = 0.3,
		max_drop_level=8,
		groupcaps={
			snappy={times={[1]=0.60, [2]=0.30, [3]=0.15}, uses=600, maxlevel=8},
		},
		damage_groups = {fleshy=16},
	},
	groups = {sword = 1},
	sound = {breaks = "default_tool_breaks"},
})
